import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/HomeView.vue'
import FreeCourseView from "@/views/FreeCourseView.vue";
import LightCourseView from "@/views/LightCourseView.vue";
import ActualCourseView from "@/views/ActualCourseView.vue";
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView
  },
  {
    path: '/free',
    name: 'free',
    component: FreeCourseView
  },
  {
    path: '/actual',
    name: 'actual',
    component: ActualCourseView
  },
  {
    path: '/light',
    name: 'light',
    component: LightCourseView
  },
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
